package entities;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the ORDERS database table.
 * 
 */
@Entity
@Table(name="ORDER_DETAILS")
public class OrderDetails implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="ORDER_ID")
	private int orderId;

	@Column(name="INVOICE", 
			columnDefinition="TEXT NOT NULL") 
	@Lob 
	private String invoice;		
    public OrderDetails() {
    }

	public int getOrderId() {
		return this.orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public String getInvoice() {
		return invoice;
	}

	public void setInvoice(String invoice) {
		this.invoice = invoice;
	}

	
	
}